package com.jh.complicate.rpc.v1.server;

import com.jh.complicate.rpc.v1.api.IUserService;
import com.jh.complicate.rpc.v1.api.User;

/**
 * @author Administrator
 * @projectName newforward
 * @title UserServiceImpl.java
 * @package com.jh.complicate.rpc.v1.server
 * @description 接口调度实现类
 * @date 2019/6/11 22:23
 */
public class UserServiceImpl implements IUserService {
    @Override
    public String sayHello(String name) {
        return "Hello " + name;
    }

    @Override
    public String saveUser(User user) {
        System.out.println(user.toString());;
        return null;
    }
}
